package com.lightsaber.trade.as.service.dataimport;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lightsaber.trade.as.dao.dataimport.EventsDao;
import com.lightsaber.trade.as.entity.dataimport.Events;

@Service
@Transactional
public class EventsManager {
    final static Logger log = LoggerFactory.getLogger(EventsManager.class);

    @Autowired
    private EventsDao eventsDao;

    protected EventsDao getDao() {
        return eventsDao;
    }

    public void save(final Events events) {
        getDao().save(events);
    }

}
